package com.niiwoo.civet.account.dao.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AccountCheckingAccountStatisticsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AccountCheckingAccountStatisticsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdIsNull() {
            addCriterion("checking_record_id is null");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdIsNotNull() {
            addCriterion("checking_record_id is not null");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdEqualTo(Long value) {
            addCriterion("checking_record_id =", value, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdNotEqualTo(Long value) {
            addCriterion("checking_record_id <>", value, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdGreaterThan(Long value) {
            addCriterion("checking_record_id >", value, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdGreaterThanOrEqualTo(Long value) {
            addCriterion("checking_record_id >=", value, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdLessThan(Long value) {
            addCriterion("checking_record_id <", value, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdLessThanOrEqualTo(Long value) {
            addCriterion("checking_record_id <=", value, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdIn(List<Long> values) {
            addCriterion("checking_record_id in", values, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdNotIn(List<Long> values) {
            addCriterion("checking_record_id not in", values, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdBetween(Long value1, Long value2) {
            addCriterion("checking_record_id between", value1, value2, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdNotBetween(Long value1, Long value2) {
            addCriterion("checking_record_id not between", value1, value2, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andPlatformTotalAccountIsNull() {
            addCriterion("platform_total_account is null");
            return (Criteria) this;
        }

        public Criteria andPlatformTotalAccountIsNotNull() {
            addCriterion("platform_total_account is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformTotalAccountEqualTo(BigDecimal value) {
            addCriterion("platform_total_account =", value, "platformTotalAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformTotalAccountNotEqualTo(BigDecimal value) {
            addCriterion("platform_total_account <>", value, "platformTotalAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformTotalAccountGreaterThan(BigDecimal value) {
            addCriterion("platform_total_account >", value, "platformTotalAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformTotalAccountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("platform_total_account >=", value, "platformTotalAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformTotalAccountLessThan(BigDecimal value) {
            addCriterion("platform_total_account <", value, "platformTotalAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformTotalAccountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("platform_total_account <=", value, "platformTotalAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformTotalAccountIn(List<BigDecimal> values) {
            addCriterion("platform_total_account in", values, "platformTotalAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformTotalAccountNotIn(List<BigDecimal> values) {
            addCriterion("platform_total_account not in", values, "platformTotalAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformTotalAccountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("platform_total_account between", value1, value2, "platformTotalAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformTotalAccountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("platform_total_account not between", value1, value2, "platformTotalAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformIncomeAccountIsNull() {
            addCriterion("platform_income_account is null");
            return (Criteria) this;
        }

        public Criteria andPlatformIncomeAccountIsNotNull() {
            addCriterion("platform_income_account is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformIncomeAccountEqualTo(BigDecimal value) {
            addCriterion("platform_income_account =", value, "platformIncomeAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformIncomeAccountNotEqualTo(BigDecimal value) {
            addCriterion("platform_income_account <>", value, "platformIncomeAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformIncomeAccountGreaterThan(BigDecimal value) {
            addCriterion("platform_income_account >", value, "platformIncomeAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformIncomeAccountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("platform_income_account >=", value, "platformIncomeAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformIncomeAccountLessThan(BigDecimal value) {
            addCriterion("platform_income_account <", value, "platformIncomeAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformIncomeAccountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("platform_income_account <=", value, "platformIncomeAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformIncomeAccountIn(List<BigDecimal> values) {
            addCriterion("platform_income_account in", values, "platformIncomeAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformIncomeAccountNotIn(List<BigDecimal> values) {
            addCriterion("platform_income_account not in", values, "platformIncomeAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformIncomeAccountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("platform_income_account between", value1, value2, "platformIncomeAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformIncomeAccountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("platform_income_account not between", value1, value2, "platformIncomeAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformMarketingAccountIsNull() {
            addCriterion("platform_marketing_account is null");
            return (Criteria) this;
        }

        public Criteria andPlatformMarketingAccountIsNotNull() {
            addCriterion("platform_marketing_account is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformMarketingAccountEqualTo(BigDecimal value) {
            addCriterion("platform_marketing_account =", value, "platformMarketingAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformMarketingAccountNotEqualTo(BigDecimal value) {
            addCriterion("platform_marketing_account <>", value, "platformMarketingAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformMarketingAccountGreaterThan(BigDecimal value) {
            addCriterion("platform_marketing_account >", value, "platformMarketingAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformMarketingAccountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("platform_marketing_account >=", value, "platformMarketingAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformMarketingAccountLessThan(BigDecimal value) {
            addCriterion("platform_marketing_account <", value, "platformMarketingAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformMarketingAccountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("platform_marketing_account <=", value, "platformMarketingAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformMarketingAccountIn(List<BigDecimal> values) {
            addCriterion("platform_marketing_account in", values, "platformMarketingAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformMarketingAccountNotIn(List<BigDecimal> values) {
            addCriterion("platform_marketing_account not in", values, "platformMarketingAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformMarketingAccountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("platform_marketing_account between", value1, value2, "platformMarketingAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformMarketingAccountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("platform_marketing_account not between", value1, value2, "platformMarketingAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformOrgAccountIsNull() {
            addCriterion("platform_org_account is null");
            return (Criteria) this;
        }

        public Criteria andPlatformOrgAccountIsNotNull() {
            addCriterion("platform_org_account is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformOrgAccountEqualTo(BigDecimal value) {
            addCriterion("platform_org_account =", value, "platformOrgAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformOrgAccountNotEqualTo(BigDecimal value) {
            addCriterion("platform_org_account <>", value, "platformOrgAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformOrgAccountGreaterThan(BigDecimal value) {
            addCriterion("platform_org_account >", value, "platformOrgAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformOrgAccountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("platform_org_account >=", value, "platformOrgAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformOrgAccountLessThan(BigDecimal value) {
            addCriterion("platform_org_account <", value, "platformOrgAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformOrgAccountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("platform_org_account <=", value, "platformOrgAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformOrgAccountIn(List<BigDecimal> values) {
            addCriterion("platform_org_account in", values, "platformOrgAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformOrgAccountNotIn(List<BigDecimal> values) {
            addCriterion("platform_org_account not in", values, "platformOrgAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformOrgAccountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("platform_org_account between", value1, value2, "platformOrgAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformOrgAccountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("platform_org_account not between", value1, value2, "platformOrgAccount");
            return (Criteria) this;
        }

        public Criteria andPlatformManageFeeIsNull() {
            addCriterion("platform_manage_fee is null");
            return (Criteria) this;
        }

        public Criteria andPlatformManageFeeIsNotNull() {
            addCriterion("platform_manage_fee is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformManageFeeEqualTo(BigDecimal value) {
            addCriterion("platform_manage_fee =", value, "platformManageFee");
            return (Criteria) this;
        }

        public Criteria andPlatformManageFeeNotEqualTo(BigDecimal value) {
            addCriterion("platform_manage_fee <>", value, "platformManageFee");
            return (Criteria) this;
        }

        public Criteria andPlatformManageFeeGreaterThan(BigDecimal value) {
            addCriterion("platform_manage_fee >", value, "platformManageFee");
            return (Criteria) this;
        }

        public Criteria andPlatformManageFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("platform_manage_fee >=", value, "platformManageFee");
            return (Criteria) this;
        }

        public Criteria andPlatformManageFeeLessThan(BigDecimal value) {
            addCriterion("platform_manage_fee <", value, "platformManageFee");
            return (Criteria) this;
        }

        public Criteria andPlatformManageFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("platform_manage_fee <=", value, "platformManageFee");
            return (Criteria) this;
        }

        public Criteria andPlatformManageFeeIn(List<BigDecimal> values) {
            addCriterion("platform_manage_fee in", values, "platformManageFee");
            return (Criteria) this;
        }

        public Criteria andPlatformManageFeeNotIn(List<BigDecimal> values) {
            addCriterion("platform_manage_fee not in", values, "platformManageFee");
            return (Criteria) this;
        }

        public Criteria andPlatformManageFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("platform_manage_fee between", value1, value2, "platformManageFee");
            return (Criteria) this;
        }

        public Criteria andPlatformManageFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("platform_manage_fee not between", value1, value2, "platformManageFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawFeeIsNull() {
            addCriterion("platform_withdraw_fee is null");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawFeeIsNotNull() {
            addCriterion("platform_withdraw_fee is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawFeeEqualTo(BigDecimal value) {
            addCriterion("platform_withdraw_fee =", value, "platformWithdrawFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawFeeNotEqualTo(BigDecimal value) {
            addCriterion("platform_withdraw_fee <>", value, "platformWithdrawFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawFeeGreaterThan(BigDecimal value) {
            addCriterion("platform_withdraw_fee >", value, "platformWithdrawFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("platform_withdraw_fee >=", value, "platformWithdrawFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawFeeLessThan(BigDecimal value) {
            addCriterion("platform_withdraw_fee <", value, "platformWithdrawFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("platform_withdraw_fee <=", value, "platformWithdrawFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawFeeIn(List<BigDecimal> values) {
            addCriterion("platform_withdraw_fee in", values, "platformWithdrawFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawFeeNotIn(List<BigDecimal> values) {
            addCriterion("platform_withdraw_fee not in", values, "platformWithdrawFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("platform_withdraw_fee between", value1, value2, "platformWithdrawFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("platform_withdraw_fee not between", value1, value2, "platformWithdrawFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawBackFeeIsNull() {
            addCriterion("platform_withdraw_back_fee is null");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawBackFeeIsNotNull() {
            addCriterion("platform_withdraw_back_fee is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawBackFeeEqualTo(BigDecimal value) {
            addCriterion("platform_withdraw_back_fee =", value, "platformWithdrawBackFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawBackFeeNotEqualTo(BigDecimal value) {
            addCriterion("platform_withdraw_back_fee <>", value, "platformWithdrawBackFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawBackFeeGreaterThan(BigDecimal value) {
            addCriterion("platform_withdraw_back_fee >", value, "platformWithdrawBackFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawBackFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("platform_withdraw_back_fee >=", value, "platformWithdrawBackFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawBackFeeLessThan(BigDecimal value) {
            addCriterion("platform_withdraw_back_fee <", value, "platformWithdrawBackFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawBackFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("platform_withdraw_back_fee <=", value, "platformWithdrawBackFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawBackFeeIn(List<BigDecimal> values) {
            addCriterion("platform_withdraw_back_fee in", values, "platformWithdrawBackFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawBackFeeNotIn(List<BigDecimal> values) {
            addCriterion("platform_withdraw_back_fee not in", values, "platformWithdrawBackFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawBackFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("platform_withdraw_back_fee between", value1, value2, "platformWithdrawBackFee");
            return (Criteria) this;
        }

        public Criteria andPlatformWithdrawBackFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("platform_withdraw_back_fee not between", value1, value2, "platformWithdrawBackFee");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("`status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("`status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("`status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("`status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("`status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("`status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("`status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("`status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("`status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("`status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("`status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("`status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}